 package com.gmrz.uaf.protocol.v1.schema;
 
 import com.google.gson.annotations.Expose;
 import com.google.gson.annotations.SerializedName;
 import java.util.HashMap;
 import java.util.Map;
 
 public class SupportedScheme
 {
 
   @Expose
   @SerializedName("name")
   Scheme scheme;
 
   public Scheme getScheme()
   {
     return this.scheme;
   }
 
   public void setScheme(Scheme scheme) {
     this.scheme = scheme;
   }
 
   public SupportedScheme withScheme(Scheme scheme) {
     this.scheme = scheme;
     return this;
   }
 
   public enum Scheme
   {
     UAFV1_TLV("UAFV1TLV");
 
     final String value;
     private static Map<String, Scheme> constants;
 
     Scheme(String value)
     {
       this.value = value;
     }
 
     public String toString()
     {
       return this.value;
     }
     public String getName() {
       return this.value;
     }
     public static Scheme fromValue(String value) {
       Scheme constant = constants.get(value);
       if (constant == null) {
         throw new IllegalArgumentException(value);
       }
       return constant;
     }
 
     static
     {
       constants = new HashMap();
 
       for (Scheme c : values())
         constants.put(c.value, c);
     }
   }
 }
